package org.smr.ministore.service;

import org.blade.msg.Message;
import org.smr.ministore.entities.DictionaryOrgan;
import org.blade.service.base.BaseService;
import org.blade.service.base.BaseBatchService;
import org.blade.service.base.PaginationQueryService;

import java.util.List;

/**
 * @author blade
 *
 */
public interface DictionaryOrganService extends BaseService<Long, DictionaryOrgan>,
                                        BaseBatchService<Long, DictionaryOrgan>,
                                        PaginationQueryService<Long, DictionaryOrgan> {

    /**
     * 指定组织可用字典
     * @param dictionaryOrganList
     * @param organId
     * @return
     */
    int assignedDictionary(List<DictionaryOrgan> dictionaryOrganList, Long organId);

    }
